package com.fosss.band.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author: fosss
 * Date: 2023/12/27
 * Time: 20:10
 * Description: 乐队
 */
@Data
@ToString
public class Band {
    private Integer id;
    private String name;
    private Date createTime;
    private Integer leaderId;
    private String description;
    //乐队人数，数据库中已经做了处理，添加、删除乐队成员后会自动更新，不需要手动更改
    private Integer memberCount;

}
